package com.znsb.msfq.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 孙科技 on 2017/2/13.
 */

public class TestBean implements Serializable {

    /**
     * result : {"code":"C0001","msg":"成功"}
     * response : {"size":1,"dataList":[{"id":1,"title":"12323","link":"https://www.baidu.com/","url":"http://msfq-pro.oss-cn-shanghai.aliyuncs.com/12321.jpg"},{"id":2,"title":"12323","link":"https://www.baidu.com/","url":"http://msfq-pro.oss-cn-shanghai.aliyuncs.com/12341.jpg"}]}
     */

    private ResultBean result;
    private ResponseBean response;

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public ResponseBean getResponse() {
        return response;
    }

    public void setResponse(ResponseBean response) {
        this.response = response;
    }

    public static class ResultBean {
        /**
         * code : C0001
         * msg : 成功
         */

        private String code;
        private String msg;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }
    }

    public static class ResponseBean {
        /**
         * size : 1
         * dataList : [{"id":1,"title":"12323","link":"https://www.baidu.com/","url":"http://msfq-pro.oss-cn-shanghai.aliyuncs.com/12321.jpg"},{"id":2,"title":"12323","link":"https://www.baidu.com/","url":"http://msfq-pro.oss-cn-shanghai.aliyuncs.com/12341.jpg"}]
         */

        private int size;
        private List<DataListBean> dataList;

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public List<DataListBean> getDataList() {
            return dataList;
        }

        public void setDataList(List<DataListBean> dataList) {
            this.dataList = dataList;
        }

        public static class DataListBean {
            /**
             * id : 1
             * title : 12323
             * link : https://www.baidu.com/
             * url : http://msfq-pro.oss-cn-shanghai.aliyuncs.com/12321.jpg
             */

            private int id;
            private String title;
            private String link;
            private String url;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getLink() {
                return link;
            }

            public void setLink(String link) {
                this.link = link;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }
    }
}
